package com.learn.spring.ioc.way.importConfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;

@Import(ConfigA.class)
public class ConfigB {

    @Bean
    public B b() {
        return new B();
    }

}
